/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.sys.entity.user;

import org.hibernate.validator.constraints.Length;
import com.thinkgem.jeesite.modules.hk.sys.entity.user.HkUser;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 用户标签Entity
 * @author 罗天文
 * @version 2018-08-29
 */
public class HkUserSystemLabel extends DataEntity<HkUserSystemLabel> {
	
	private static final long serialVersionUID = 1L;
	private String tag;		// 标签
	private HkUser user;		// 用户id
	
	public HkUserSystemLabel() {
		super();
	}

	public HkUserSystemLabel(String id){
		super(id);
	}

	@Length(min=1, max=200, message="标签长度必须介于 1 和 200 之间")
	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}
	
	public HkUser getUser() {
		return user;
	}

	public void setUser(HkUser user) {
		this.user = user;
	}
	
}